package code.view {

import code.remote.ResultErrorContainer;

import flash.events.Event;

public class PopupClosedEvent extends Event {
	
	public static const POPUP_CONFIRMED: String = "popupConfirmed";
	
	public static const POPUP_CANCELED: String = "popupCanceled";
	
	public var confirmedObject: Object;
	
	public var errorContainer: ResultErrorContainer;
	
	public function PopupClosedEvent(type:String, confirmedObject: Object, errorContainer: ResultErrorContainer=null, 
			bubbles:Boolean=false, cancelable:Boolean=false) {
		super(type, bubbles, cancelable);
		
		this.confirmedObject = confirmedObject;
		this.errorContainer = errorContainer;
	}
	
}
}